<html>
   <head>
   <meta charset="utf-8">
    <title>自定义工具栏</title>
	</head>
<script type="text/javascript" src="./js/jquery-3.1.1.min.js"></script>
<!-- <script type="text/javascript" src="/webroot/decision/view/report?op=emb&resource=finereport.js"></script> -->
<script type="text/javascript" src="https://www.barrel.fit/zipperdyer/ReportServer?op=emb&resource=finereport.js"></script>
<script type="text/javascript">
	$(function autoSubmit() {	       
		reportlets = [{
			reportlet: 'testvue3.cpt',
			sid: '1002'
		}]
		const config = {
			url: "../zipperdyer/ReportServer",
			isPopUp: false,
			data: {
			    reportlets: reportlets
			}
		};

		FR.doURLPDFPrint(config);
		window.close();
	}) 
</script>
<!-- onload="autoSubmit()" -->
<body >

<!-- 	<form name="paraForm" method="post" target="reportFrame">
		<input type="button" name="show" value="查询表单" onclick="autoSubmit()"/>
	</form>
	<iframe id="reportFrame" name="reportFrame" width="1200px" height="800px" style="background-image:url('登录页.png')"></iframe>  
 -->
 <h1>测试 vue FineReport</h1>
</body>
</html>
